from flask import Blueprint
from flask_restful import Api

from job.StartXxlJob import StartXxlJob

xxljob_blueprint = Blueprint('xxljob', __name__)
blueprint_rest = Api(xxljob_blueprint)
blueprint_rest.add_resource(StartXxlJob, "/run")